#include "user.h"

User::User()
{

    this->userName="undefined";
    this->account="undefined";
    this->password="undefined";
}

User::User(QString &account, QString &password)
{
    this->account=account;
    this->password=password;
}

User::User( QString &userName, QString &account, QString &password)
{
    this->userName=userName;
    this->account=account;
    this->password=password;
}




QString User::getAccount() const
{
    return account;
}

void User::setAccount(const QString &value)
{
    account = value;
}

QString User::getUserName() const
{
    return userName;
}

void User::setUserName(const QString &value)
{
    userName = value;
}

QString User::getPassword() const
{
    return password;
}

void User::setPassword(const QString &value)
{
    password = value;
}


